<style type="text/css">
    label{display: inline;}
    #tbl_submit{ margin-top: 10px;}
</style>

<div class="rom">
    <font color="#006DCC"><h4> Change Stylesheet of  Template </h4></font>
<form id="form1" name="form1" method="post" action="" >
  <?php 
       if(isset($_POST['s_id'])){
		   if($_POST['s_id']== "layout_blue.css"){	
  ?>
  <input <?php if (!(strcmp(1,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio1" value="layout_blue.css" />
  <label for="radio1">Style Blue</label>
  <?php }  ?>
    <?php 
       
		   if($_POST['s_id']== "layout_green.css"){	
  ?>

  <input <?php if (!(strcmp(2,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio2" value="layout_green.css" />
  <label for="radio2">Style Green</label>
   <?php }  ?>
    <?php 
       
		   if($_POST['s_id']== "layout_orange.css"){	
  ?>

  <input <?php if (!(strcmp(3,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio3" value="layout_orange.css" />
  <label for="radio3">Style Oranges</label>
   <?php } ?>
    <?php 
      
		   if($_POST['s_id']== "layout_yellow.css"){	
  ?>

  <input <?php if (!(strcmp(4,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio4" value="layout_yellow.css" />
  <label for="radio4">Style Yellow</label>
   <?php }  ?>
    <?php 
    
		   if($_POST['s_id']== "layout.css"){	
  ?>

  <input <?php if (!(strcmp(5,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio5" value="layout.css" />
  <label for="radio5">Style Red</label>
   <?php } 
   
   } else {
	   ?>
  <input <?php if (!(strcmp(1,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio1" value="layout_blue.css" />
  <label for="radio1">Style Blue</label></br>
  <input <?php if (!(strcmp(2,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio2" value="layout_green.css" />
  <label for="radio2">Style Green</label></br>
 <input <?php if (!(strcmp(3,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio3" value="layout_orange.css" />
  <label for="radio3">Style Oranges</label></br>
 <input <?php if (!(strcmp(4,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio4" value="layout_yellow.css" />
  <label for="radio4">Style Yellow</label></br>
 <input <?php if (!(strcmp(5,"radio"))) {echo "checked=\"checked\"";} ?> type="radio" name="s_id" id="radio5" value="layout.css" />
 <label for="radio5">Style Red</label></br>
  <?php } ?>
  <input type="submit" name="s_style" value="Save" id="tbl_submit" class="btn btn-primary"/>
</form>
</div>